function foo(...rest: Array<number>) {}